package com.nuc.dao;

import com.nuc.dao.impl.SpringDaoImpl;

public class FactoryBean {//静态工厂实例化bean
	public static SpringDao creatSpringDao(){
		return new SpringDaoImpl();
	}
	
	public SpringDao creatSpringDao2(){//实例工厂
		return new SpringDaoImpl();
	} 
}
